//
//  CutomView.m
//  13--AutoLayout 约束进阶
//
//  Created by 冀永金 on 16/8/1.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import "CutomView.h"

@implementation CutomView

// 内容的大小
// UIView默认的大小-1，-1
- (CGSize)intrinsicContentSize {
    CGSize size = [super intrinsicContentSize];
    NSLog(@"%@",NSStringFromCGSize(size));
    return CGSizeMake(400, 0);
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
